package com.hlddz.venue_reservation.service;

import com.hlddz.venue_reservation.dto.ReserveDetailDto;
import com.hlddz.venue_reservation.entity.Reserve;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author MoShang
 * @since 2024年05月31日
 */
public interface ReserveService extends IService<Reserve> {
//
     int doReserve(Reserve reserve);
     @Deprecated
     List<Reserve> getReserves();

     List<ReserveDetailDto> getReserveListByName(String username);

     void UpdateReserveStatus(int reserveId,String status);
}
